<?php
require_once('modules/auth.php');
 
if (!isUserLoggedIn()) {
	header("Location: index.php");
	exit();
}
?>
<!DOCTYPE html>
<html ng-app="pveb_12_1">
<head>
	<title>Main page</title>
	<link rel="stylesheet" type="text/css" href="jquery.tagsinput.css" />
	<script type="text/javascript" src="script/jquery-1.8.3.min.js"></script>
	<script type='text/javascript' src='script/jquery.tagsinput.js'></script>
	<script type='text/javascript' src='https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.13/jquery-ui.min.js'></script>
	<link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.13/themes/start/jquery-ui.css" />
	<script type='text/javascript' src='script/angular.min.js'></script>
	<script type='text/javascript' src='script/main_script.js'></script>
	
	<link rel="stylesheet" type="text/css" href="style/style.css" />

</head>
<body>
	<div id = "bodyWraper">
		
		<div id = "leftSide">
			<h3><a href="#/packages" class = "leftMenuItem" >Paketi</a></h3>
			<h3><a href="#/corpuses" class = "leftMenuItem" >Zbirke</a></h3>
			<h3><a href="#/collections" class = "leftMenuItem" >Kolekcije</a></h3>
			<h3><a href="#/upload" class="leftMenuItem">Upload</a></h3>
			<?php if(isUserLoggedIn()) {?><h3><a href="log_out.php" class = "leftMenuItem" >Log out</a></h3><?php }?>
		</div>

		<div ng-view id = "rightSide">
		</div>
	</div>
</body>
</html>